
pre{
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.42857143;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#navbar{
  background: #f2f2f2;
}
#navbar .layui-tab-title i.layui-tab-close:hover{
  background: #01AAED;
  color: #fff;
}

.animate{
  -webkit-transform: translate3d(0,0,0);
  -o-transition: all .3s;
  -moz-transition: all .3s;
  -webkit-transition: all .3s;
  -ms-transition: all .3s;
}
.dustar-body{
  .dustar-side-menu{
    top:65px;
    background: #23262E;
    width: 220px;
    .layui-side-scroll{
      width: 240px;
      .layui-nav{
        background: #23262E;
        width: 220px;
        a{
          cite{
            margin-left: 2px;
          }
        }
        .layui-nav-item{

        }
        .layui-nav-itemed>.layui-nav-child{
          a{
            &:before{
              background: #5e6169;
              bottom: auto;
              content: "";
              height: 8px;
              left: 28px;
              margin-top: 15px;
              position: absolute;
              right: auto;
              width: 8px;
              z-index: 1;
              border-radius: 50%;
            }
            &:after{
              border-left: 1px solid #5e6169;
              bottom: 0;
              content: "";
              left: 32px;
              position: absolute;
              top: 0;
            }
            padding:0 50px;
          }
          .layui-nav-child a {
            margin-left: 25px;
          }
        }
      }
      .layui-nav-bar{
        background: #01AAED;
      }
    }
  }
  .layui-side{
    .animate;
  }
  .dustar-side-hide{
    width: 0px;
  }
  .layui-header{
    border-bottom: 5px #01AAED solid;
    .layui-logo{
      width: 200px;
      img{
        width: 140px;
        height: 40px;
        margin-top: 17px;
        margin-bottom: 3px;
        font-size: 12px;
      }
    }
    .layui-layout-right{
       .favicon-img{
         width: 35px;height: 35px;border-radius: 50%;margin-right: 8px;
       }
    }
    ul li.admin-side-toggle{
      &:hover{

      }
      &:after{
        background:#23262E;
      }
    }
  }
  .layui-body{
    background: #F2F2F2;
    left: 220px;
    top: 65px;
    bottom: 0px;
    .animate;
    .dustar-tab{
      margin: 0;
      ul.layui-tab-title{
        border-bottom: 1px solid #f6f6f6;
        background: #fff;
        li{
          i{
            &:first-child{
              font-size:16px;
              margin-right:3px;
            }
          }
        }
        li.layui-this{
          color: #01AAED;
          background:#f6f6f6;
        }
      }
      .layui-tab-content{
        padding: 15px 0;
        iframe{
          width: 100%;
          height: 100%;
          border: none;
        }
      }
    }
  }
  .dustar-body1{
    left: 0!important;
  }

  .layui-footer{
    border-top: solid 1px #f6f6f6;
    background: #fff;
    left: 220px;
    height: 35px;
    line-height: 35px;
    .animate
  }
  .dustar-footer{
    left: 0!important;
  }
  .dustar-logo{
    text-align: center
  }
}

@media screen and (max-width: 750px) {
  .dustar-body{
    .dustar-header{
      .layui-logo{
        img{
          display: none;
        }
      }
      .layui-layout-left{
        left: 0;
        .admin-side-toggle{
          display: none;
        }
      }
    }
    .dustar-side-mobile-hide{
      width: 0;
    }
    .layui-body{
      left: 0;
    }
    .site-tree-mobile{
      display: block!important;
      position: fixed;
      z-index: 100000;
      bottom: 15px;
      left: 20px;
      width: 50px;
      height: 50px;
      line-height: 50px;
      border-radius: 2px;
      text-align: center;
      background-color: rgba(0,0,0,.6);
      color: #fff;
      i{
        font-size: 22px;
      }
    }

    .site-mobile-shade{
      display: none;
      content: '';
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: rgba(0,0,0,.8);
      z-index: 998;
    }
    .layui-footer{
      left: 0!important;
    }

  }
}

//覆盖类
.layui-nav .layui-this:after, .layui-nav-bar, .layui-nav-tree .layui-nav-itemed:after{
  background: #23262E;
}

.layui-tab-brief>.layui-tab-more li.layui-this:after, .layui-tab-brief>.layui-tab-title .layui-this:after{
  border-bottom: 1px solid #f2f2f2;
  border-bottom: 3px solid #01AAED;
}
.layui-nav .layui-nav-child dd.layui-this a, .layui-nav-child dd.layui-this{
  background: #4e5465;
}
.layui-nav-tree .layui-nav-child dd.layui-this, .layui-nav-tree .layui-nav-child dd.layui-this a, .layui-nav-tree .layui-this, .layui-nav-tree .layui-this>a, .layui-nav-tree .layui-this>a:hover{
  background: #4e5465;
  &:before{
    background: #fff!important;
  }
  &:after{
    border-left: 1px solid #fff!important;
  }
}
